package com.xayy.health.ds.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xtck.ha.common.core.annotation.Excel;
import com.xtck.ha.common.core.annotation.IgnoreProperty;
import com.xtck.ha.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.xtck.ha.common.core.annotation.TableName;
import com.xtck.ha.common.core.annotation.ClassKey;
import java.math.BigDecimal;
import java.util.Date;

/**
* @ClassName: DsFaultInfo
* @Description: 实体类
* @author liuyuan
* @date 2025-07-09
*/
@Data
@ApiModel(description = "")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value="TB_FAULT_INFO")
public class DsFaultInfo extends BaseEntity {
        @IgnoreProperty
        private static final long serialVersionUID = 1L;
        /**
        * 主键
        */
        @ApiModelProperty("主键")
        @Excel(name = "主键")
        private Integer id;
        /**
        * 外部引接id
        */
        @ApiModelProperty("外部引接id")
        @Excel(name = "外部引接id")
        private String leadId;
        /**
        * 
        */
        @ApiModelProperty("")
        @Excel(name = "")
        private Long satelliteId;
        /**
        * 卫星名称
        */
        @ApiModelProperty("卫星名称")
        @Excel(name = "卫星名称")
        private String satelliteName;
        /**
        * 卫星代号
        */
        @ApiModelProperty("卫星代号")
        @Excel(name = "卫星代号")
        private String satelliteCode;
        /**
        * 
        */
        @ApiModelProperty("")
        @Excel(name = "")
        private Long systemId;
        /**
        * 分系统名称
        */
        @ApiModelProperty("分系统名称")
        @Excel(name = "分系统名称")
        private String systemName;
        /**
        * 
        */
        @ApiModelProperty("")
        @Excel(name = "")
        private Long nodeId;
        /**
        * 部件名称
        */
        @ApiModelProperty("部件名称")
        @Excel(name = "部件名称")
        private String nodeName;
        /**
        * 参数代号
        */
        @ApiModelProperty("参数代号")
        @Excel(name = "参数代号")
        private String paramCode;
        /**
        * 参数名称
        */
        @ApiModelProperty("参数名称")
        @Excel(name = "参数名称")
        private String paramName;
        /**
        * 故障等级 1轻微 2一般 3严重 4致命
        */
        @ApiModelProperty("故障等级 1轻微 2一般 3严重 4致命")
        @Excel(name = "故障等级 1轻微 2一般 3严重 4致命")
        private Long faultLevel;
        /**
        * 故障时间
        */
        @ApiModelProperty("故障时间")
        @Excel(name = "故障时间")
        private Date diagnoseTime;
        /**
        * 故障现象
        */
        @ApiModelProperty("故障现象")
        @Excel(name = "故障现象")
        private String description;
        /**
        * 来源 1任务系统 2事后诊断 3异常分析 4趋势预测5外部引接
        */
        @ApiModelProperty("来源 1任务系统 2事后诊断 3异常分析 4趋势预测5外部引接")
        @Excel(name = "来源 1任务系统 2事后诊断 3异常分析 4趋势预测5外部引接")
        private Long source;

}
